﻿using System;
using WeatherCore.Lib;

namespace WeatherCore.App.Models;

[Serializable]
public class SettingModel
{
    public string DefaultCity { get; set; } = "";
    public SaveList SaveList { get; set; } = new();

    public static SettingModel Default => new()
    {
        DefaultCity = "北京"
    };
}

[Serializable]
public class SaveList
{
    public string UpdateTime { get; set; } = "";
    public WeatherList List { get; set; } = new();
}